/**
 * Sonatype Nexus (TM) Open Source Version
 * Copyright (c) 2008-present Sonatype, Inc.
 * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
 *
 * This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
 * which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
 *
 * Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
 * of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
 * Eclipse Foundation. All other trademarks are the property of their respective owners.
 */
@import "~@sonatype/react-shared-components/scss-shared/nx-container-helpers";
@import "~@sonatype/react-shared-components/scss-shared/nx-text-helpers";

/**
 * @since 3.29
 */
.nxrm-routing-rules {
  .nx-table > tbody > .nx-table-row > .nx-cell.repository-child {
    padding-left: var(--nx-spacing-12x);
  }

  .allowed {
    color: var(--nx-color-validation-valid);
  }

  .blocked {
    color: var(--nx-color-validation-invalid);
  }

  .routing-rule-matcher label {
    display: none;
  }

  .nxrm-path {
    &::before {
      content: "/";
      position: absolute;
      padding-left: var(--nx-spacing-4x);
      padding-top: 10px;

      @include semi-bold();
      font-size: var(--nx-font-size);
      z-index: 1;
    }

    .nx-text-input__input {
      padding-left: 8px;
    }
  }

  .nxrm-routing-rules-form {
    .add-matcher {
      @include container-horizontal();
    }
  }
}
